package com.qunar.homework4.dao;

import com.qunar.homework4.model.Paragraph;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ParagraphDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Paragraph record);

    Paragraph selectByPrimaryKey(Integer id);

    List<Paragraph> selectAll();

    int updateByPrimaryKey(Paragraph record);
}